home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60src.lha / Vim / vim60 / src / testdir / test47.in < prev    next >
Encoding:
Text File  |  2001-05-13  |  1.0 KB  |  45 lines

  1. Tests for vertical splits and filler lines in diff mode
  2.  
  3. STARTTEST
  4. :so small.vim
  5. /^1
  6. yG:new
  7. pkdd:w! Xtest
  8. ddGpkkrXoxxx:w! Xtest2
  9. :file Nop
  10. ggoyyyjjjozzzz
  11. :vert diffsplit Xtest
  12. :vert diffsplit Xtest2
  13. :" jump to second window for a moment to have filler line appear at start of
  14. :" first window
  15. ggpgg:let one = winline()
  16. j:let one = one . "-" . winline()
  17. j:let one = one . "-" . winline()
  18. j:let one = one . "-" . winline()
  19. j:let one = one . "-" . winline()
  20. j:let one = one . "-" . winline()
  21. gg:let two = winline()
  22. j:let two = two . "-" . winline()
  23. j:let two = two . "-" . winline()
  24. j:let two = two . "-" . winline()
  25. j:let two = two . "-" . winline()
  26. gg:let three = winline()
  27. j:let three = three . "-" . winline()
  28. j:let three = three . "-" . winline()
  29. j:let three = three . "-" . winline()
  30. j:let three = three . "-" . winline()
  31. j:let three = three . "-" . winline()
  32. j:let three = three . "-" . winline()
  33. :call append("$", one)
  34. :call append("$", two)
  35. :call append("$", three)
  36. :$-2,$w! test.out
  37. :qa!
  38. ENDTEST
  39.  
  40. 1 aa
  41. 2 bb
  42. 3 cc
  43. 4 dd
  44. 5 ee
  45.